home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / ib.154 < prev    next >
Text File  |  1992-02-06  |  1KB  |  22 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f2\fmodern Courier;}
  2. \paperw13040
  3. \paperh10200
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 nib box group\
  7. \
  8. Q:  I got two buttons from the palette, then one box.  I sent the box to the back then resized it and put it under the buttons so that it looks nice.  But the three objects move independently and I want them to move together!\
  9. \
  10. A:  The geometrical superposition of a Box and other objects in the window editor does not imply the creation of a view hierarchy even if it looks that way.  To create an actual hierarchy, delete the existing box, select the other objects, and choose "Group" from the Layout menu.  This will create a new Box as the superview of those objects.  Once you have created a view hierarchy in this way, the objects will move together as a unit. \
  11. \
  12. You can select one of the objects in the box by double-clicking it.  Notice that the Box editor is opened (there is a dark gray border around the Box) and you can move the objects around inside, but not out of, the boundaries of the box.\
  13. \
  14. QA154\
  15. \
  16.  
  17. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320 Valid for 1.0\
  18. Valid for 2.0\
  19.  
  20. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600 \
  21.  
  22.